#
# Be sure to run `pod lib lint LCMediator.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'MLXCamera'
  s.version          = '0.2.0'
  s.summary          = '项目相机相关的组件'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = '项目相机相关的组件”'

  s.homepage         = 'https://gitee.com/89465933/MLXCamera.git'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'menglingchao' => '1228225993@qq.com' }
  s.source           = { :git => 'https://gitee.com/89465933/MLXCamera.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '8.0'
  s.requires_arc = true

   s.default_subspec = 'Core'
   s.subspec 'Core' do |core|
        core.source_files = 'MLXCamera/SaoYiSao/*.{h,m}','MLXCamera/PhotoVideo/*.{h,m}','MLXCamera/Class/MLXCameraHead.h'
        core.resource_bundles = {
           'MLXCamera' => ['MLXCamera/Resources/**/*']
        }
    end
    s.subspec 'SaoYiSao' do |sys|
        sys.source_files = 'MLXCamera/SaoYiSao/*.{h,m}','MLXCamera/Class/MLXCameraHead.h'
        sys.resource_bundles = {
           'MLXCamera_SaoYiSao' => ['MLXCamera/Resources/SaoYiSao_*.png','MLXCamera/Resources/anniu.png']
   }
    end
    s.subspec 'PhotoVideo' do |pv|
        pv.source_files = 'MLXCamera/PhotoVideo/*.{h,m}','MLXCamera/Class/MLXCameraHead.h'
        pv.resource_bundles = {
            'MLXCamera' => ['MLXCamera/Resources/PhotoVideo_*.png','MLXCamera/Resources/MLXVideoViewController.xib']
        }
    end

  # s.public_header_files = 'Pod/Classes/**/*.h'
   s.frameworks = 'UIKit', 'CoreFoundation', 'QuartzCore'
   # s.static_framework  =  true
    # s.dependency 'MJRefresh'
  end
